import { createRouter, createWebHistory } from 'vue-router';

const routes = [
  {
    path: '/inventory',
    name: 'inventory',
    component: () => import('../views/inventory/index.vue'),
  },
  {
    path: '/inventory-detail',
    name: 'inventory-detail',
    component: () => import('../views/inventory-detail/index.vue'),

  }
];

const router = createRouter({
  history: createWebHistory(),
  routes
});

export default router;